package com.lakeworks.domain;

import com.lakeworks.common.annotation.Excel;
import com.lakeworks.common.domain.base.BaseDomain;
import lombok.*;

/**
 * 产品基本信息对象 sys_product
 *
 * @author lake
 * @date 2023-02-08
 */
@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class SysProduct extends BaseDomain {
    private static final long serialVersionUID = 1L;

    private Long channelId;

    /**
     * 编码
     */
    @Excel(name = "编码")
    private String code;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 分类
     */
    @Excel(name = "分类")
    private String category;

    /**
     * 图片
     */
    @Excel(name = "图片")
    private String picture;

    private Integer sort;

    /**
     * 产品备注
     */
    @Excel(name = "产品备注")
    private String comment;

    public SysProduct(Long channelId) {
        this.channelId = channelId;
    }
}
